<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="t" tagdir="/WEB-INF/tags"%>

<t:template>
	<jsp:attribute name="header">
		      <div class="row featurette">
		        <div class="col-md-10">
		          <h2 class="featurette-heading">Dodaj nową <span
						class="text-muted"> konferencję</span>
				</h2>
		        </div>
		      </div>
		      <hr class="featurette-divider">
	    </jsp:attribute>
	<jsp:attribute name="footer">Stopka</jsp:attribute>
	<jsp:body>
		<form role="form" commandName="CONFERENCE" method="post" action="save.htm">
			<form:errors path="*" cssStyle="color : red;" />
			<div class="form-group">
				<label>Temat :</label>
			    <input type="text" class="form-control" placeholder="Temat konferencji ...." name="subject">
			</div>
			<div class="form-group">
				<label>Opis :</label>
				<textarea class="form-control" rows="4" name="content" placeholder="Opis konferencji ..."></textarea>
			</div>
			<div class="form-group">
				<label>Data rozpoczęcia:</label>
				<input type="date" class="form-control" rows="4" name="date" />
			</div>
			<div class="form-group">
				<label>Limit osobowy :</label>
				<input type="text" class="form-control" rows="4" name="personLimit" />
			</div>
			<button type="submit" class="btn btn-success">Zapisz</button>
			<a href="<c:url value="/home.htm" />" class="btn btn-default" role="button">Anuluj</a>
		</form>
    </jsp:body>
</t:template>